import request from '@/utils/request'

// 用户登陆
export const login = (data) => {
  return request.post('/sys/login', data)
}

// 获取用户基本信息
export const loadUserInfo = () => {
  return request.get('/sys/profile')
}
